﻿using System;
using Medora.Model.Classifiers;
using Medora.Model.Institutions;

namespace Medora.Model.Persons
{
    public class Referral : PersonConnected
    {
        public Visit Visit { get; set; }
        public Guid VisitId { get; set; }
        public string Code { get; set; }
        public Guid ReferralTypeId { get; set; }
        public Classifier ReferralType { get; set; }
        public Guid  ToId { get; set; }
        public IReferredObject ReferredObject { get; set; }
        public Guid ToProviderId { get; set; }
        public Provider ToProvider { get; set; }
        public Guid ToInstitutionId { get; set; }
        public Institution ToInstitution { get; set; }

        public Guid ScheduleItemId { get; set; }
        public ScheduleItem ScheduleItem { get; set; }
    }

    public interface IReferredObject
    {
    }
}
